<admintpl file="header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:U('Businessset/active_reward')}">{:L('BUSINESSSET_INDEX')}</a></li>
    <!--    <li><a href="{:U('businessset/active_reward')}">{:L('OTHER_INDEX')}</a></li> -->
    </ul>
    <form method="post" class="form-horizontal js-ajax-form" action="{:U('Businessset/active_reward_post')}"  method="post">
        <fieldset>
            <h4 style="color: #f50">营销配置</h4>
            <div class="control-group">
                <label class="control-label">{:L('ACTIVE_AMOUNT')}:</label>
                <div class="controls">
                    <input type="text" name="active_amount" required value="{$data.active_amount}">
                    <span class="form-required">*</span>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">{:L('OEDER_DISCOUNT')}:</label>
                <div class="controls">
                    <input type="text" name="oeder_discount"  value="{$data.oeder_discount}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">{:L('PAGE_COUNT')}:</label>
                <div class="controls">
                    <input type="text" name="page_count"  value="{$data.page_count}">
                </div>
            </div>
            <hr>
            <h4 style="color: #f50">代收货款</h4>
            <div class="control-group">
                <label class="control-label">代收款手续费:</label>
                <div class="controls">
                    <input type="text" name="collection_cost"  value="{$data.collection_cost}">元
                </div>
            </div>
            <hr>
            <h4 style="color: #f50">订单配置</h4>
            <div class="control-group">
                <label class="control-label">每笔订单跑客奖励的经验值:</label>
                <div class="controls">
                    <input type="text" name="order_pn_exp"  value="{$data.order_pn_exp}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">每笔订单用户奖励的经验值:</label>
                <div class="controls">
                    <input type="text" name="order_exp"  value="{$data.order_exp}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">每单奖励帮币数量:</label>
                <div class="controls">
                    <input type="text" name="order_coin_add"  value="{$data.order_coin_add}">个
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">每单扣除帮币数量:</label>
                <div class="controls">
                    <input type="text" name="order_coin_sub"  value="{$data.order_coin_sub}">个
                </div>
            </div><!--
            <hr>
            <h4 style="color: #f50">价格配置</h4>
            <div class="control-group">
                <label class="control-label">{:L('START_COST')}:</label>
                <div class="controls">
                    <input type="text" name="start_cost"  value="{$data.start_cost}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">3公里价格:</label>
                <div class="controls">
                    <input type="text" name="3price"  value="{$data.3price}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">3-10公里之间每公里加价:</label>
                <div class="controls">
                    <input type="text" name="3_10price"  value="{$data.3_10price}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">10-30公里以后，每公里加价:</label>
                <div class="controls">
                    <input type="text" name="10_30price"  value="{$data.10_30price}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">30公里以后，每公里加价:</label>
                <div class="controls">
                    <input type="text" name="30price"  value="{$data.30price}">
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">夜补22-24点价格:</label>
                <div class="controls">
                    <input type="text" name="night_add_price"  value="{$data.night_add_price}">
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">夜补0-7点价格:</label>
                <div class="controls">
                    <input type="text" name="morning_add_price"  value="{$data.morning_add_price}">
                </div>
            </div>

            <h4 style="color: #f50">交通工具设置</h4>
            <div class="control-group">
                <label class="control-label">交通工具(一):</label>
                <input type='hidden' name="conv[conv1][conv_id]"  value="1"/>
                <div class="controls">
                    <input type="text" name="conv[conv1][conv_name]"  value="{$data[conv][conv1][conv_name]}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">每公里附加费用:</label>
                <div class="controls">
                    <input type="text" name="conv[conv1][cost_per]"  value="{$data[conv][conv1][cost_per]}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">起步价附加费用:</label>
                <div class="controls">
                    <input type="text" name="conv[conv1][init_cost]"  value="{$data[conv][conv1][init_cost]}">
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">交通工具(二):</label>
                <input type='hidden' name="conv[conv2][conv_id]"  value="2"/>
                <div class="controls">
                    <input type="text" name="conv[conv2][conv_name]"  value="{$data[conv][conv2][conv_name]}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">每公里附加费用:</label>
                <div class="controls">
                    <input type="text" name="conv[conv2][cost_per]"  value="{$data[conv][conv2][cost_per]}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">起步价附加费用:</label>
                <div class="controls">
                    <input type="text" name="conv[conv2][init_cost]"  value="{$data[conv][conv2][init_cost]}">
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">交通工具(三):</label>
                <input type='hidden' name="conv[conv3][conv_id]"  value="3"/>
                <div class="controls">
                    <input type="text" name="conv[conv3][conv_name]"  value="{$data[conv][conv3][conv_name]}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">每公里附加费用:</label>
                <div class="controls">
                    <input type="text" name="conv[conv3][cost_per]"  value="{$data[conv][conv3][cost_per]}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">起步价附加费用:</label>
                <div class="controls">
                    <input type="text" name="conv[conv3][init_cost]"  value="{$data[conv][conv3][init_cost]}">
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">交通工具(四):</label>
                <input type='hidden' name="conv[conv4][conv_id]"  value="4"/>
                <div class="controls">
                    <input type="text" name="conv[conv4][conv_name]"  value="{$data[conv][conv4][conv_name]}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">每公里附加费用:</label>
                <div class="controls">
                    <input type="text" name="conv[conv4][cost_per]"  value="{$data[conv][conv4][cost_per]}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">起步价附加费用:</label>
                <div class="controls">
                    <input type="text" name="conv[conv4][init_cost]"  value="{$data[conv][conv4][init_cost]}">
                </div>
            </div>-->
            <h4 style="color: #f50">跑客提现设置</h4>
            <div class="control-group">
                <label class="control-label">押金:</label>
                <div class="controls">
                    <input type="text" name="deposit"  value="{$data[deposit]}">元
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">最低提现额:</label>
                <div class="controls">
                    <input type="text" name="lowest_cash"  value="{$data[lowest_cash]}">元
                </div>
            </div>
            <h4 style="color: #f50">预约单提醒设置</h4>
            <div class="control-group">
                <label class="control-label">提前发送短信时间设置:</label>
                <div class="controls">
                    <input type="text" name="remind_minute"  value="{$data[remind_minute]}">分钟
                </div>
            </div>

            <h4 style="color: #f50">用户推荐用户分成设置</h4>
            <div class="control-group">
                <label class="control-label">两级分成的前N单的值:</label>
                <div class="controls">
                    <input type="text" name="separate_n"  value="{$data[separate_n]}">
                </div>
            </div>

            <h4 style="color: #f50">指派时间设置</h4>
            <div class="control-group">
                <label class="control-label">指派时间间隔:</label>
                <div class="controls">
                    <input type="text" name="appoint_time"  value="{$data[appoint_time]}">分钟
                </div>
            </div>
            <h4 style="color: #f50">取消订单奖惩设置</h4>
            <div class="control-group">
                <label class="control-label">接单后用户退单违约金:</label>
                <div class="controls">
                    <input type="text" name="user_cancle_fine"  value="{$data[user_cancle_fine]}">元
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">接单后跑客退单违约金:</label>
                <div class="controls">
                    <input type="text" name="dis_cancle_fine"  value="{$data[dis_cancle_fine]}">元
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">接单后用户退单奖励跑客帮币:</label>
                <div class="controls">
                    <input type="text" name="user_cancle_reward"  value="{$data[user_cancle_reward]}">个
                </div>
            </div>
            <h4 style="color: #f50">积分奖励比例设置</h4>
            <div class="control-group">
                <label class="control-label">订单积分奖励比例:</label>
                <div class="controls">
                    <input type="text" name="order_points"  value="{$data[order_points]}">
                </div>
            </div>
            <div>
            <label class="control-label">充值积分奖励比例:</label>
            <div class="controls">
                <input type="text" name="discount_points"  value="{$data[discount_points]}">
            </div>
            </div>

            <h4 style="color: #f50">跑客接单距离模式</h4>
            <div class="control-group">
                <label class="control-label">普通模式:</label>
                <input type='hidden' name="order_model[0][type]"  value="1"/>
                <div class="controls">
                    <input type="text" name="order_model[0][distance]"  value="{$data[order_model][0][distance]}">米
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">校园模式:</label>
                <input type='hidden' name="order_model[1][type]"  value="2"/>
                <div class="controls">
                    <input type="text" name="order_model[1][distance]"  value="{$data[order_model][1][distance]}">米
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">超人模式:</label>
                <input type='hidden' name="order_model[3][type]"  value="3"/>
                <div class="controls">
                    <input type="text" name="order_model[3][distance]"  value="{$data[order_model][3][distance]}">米
                </div>
            </div>
            <h4 style="color: #f50">预约单间隔设置</h4>
            <div class="control-group">
                <label class="control-label">非排队预约单完成时间段设置:</label>
                <div class="controls">
                    <input type="text" name="noqueue_reserorder_finishtime"  value="{$data[noqueue_reserorder_finishtime]}">小时
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">预约单间隔接单时间段:</label>
                <div class="controls">
                    <input type="text" name="reser_order_sqace"  value="{$data[reser_order_sqace]}">小时
                </div>
            </div>
            <h4 style="color: #f50">订单使用优惠券的倍数设置</h4>
            <div class="control-group">
                <label class="control-label">优惠券使用倍数:</label>
                <div class="controls">
                    <input type="text" name="coupon_multiple"  value="{$data[coupon_multiple]}">倍
                </div>
            </div>
            <h4 style="color: #f50">转盘积分设置</h4>
            <div class="control-group">
                <label class="control-label">每次转盘积分消耗:</label>
                <div class="controls">
                    <input type="text" name="integral"  value="{$data[integral]}">分
                </div>
            </div>
        </fieldset>
        <div class="form-actions">
            <button type="submit" class="btn btn-primary js-ajax-submit">{:L('SAVE')}</button>
        </div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>